package controller;


import Log.ISysLog;
import Log.TxtLog;

import java.text.SimpleDateFormat;
import java.util.HashMap;
import java.util.Map;


public class BaseController {

    /** 上下文对象的key 登录用户 */
    public static final String LOGIN_USER = "LOGIN_USER";


    protected static final Map<String, Object> context = new HashMap<>();


    protected ISysLog log = new TxtLog();

      /** 系统日志记录 ---打印到控制台*/
 //   protected ISysLog log = new ConsoleLog();


    protected SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");


}
